$OpenBSD: patch-configure,v 1.10 2015/06/17 15:13:05 sthen Exp $

Use GNU readline as our base readline lacks add_history_time().

--- configure.orig	Wed Jun 17 16:04:35 2015
+++ configure	Wed Jun 17 16:36:48 2015
@@ -47773,7 +47773,7 @@ if ${lftp_cv_precompiled_readline+:} false; then :
 else
 
    old_LIBS="$LIBS"
-   LIBS="-lreadline $READLINE_SUPPLIB $LIBS"
+   LIBS="-lereadline $READLINE_SUPPLIB $LIBS"
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 extern int (*rl_getc_function)();
@@ -47813,7 +47813,7 @@ if test $lftp_cv_precompiled_readline = yes; then
    READLINE_DIR=''
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-   READLINE='-lreadline'
+   READLINE='-lereadline'
    READLINE_DEPEND=''
    COMPILE_READLINE=no
 else
